package com.orange.base.core.bean;

/**
 * 表索引信息
 * 
 * @author wlwang
 *
 */
public class TableIndexInfo {

    /**
     * 索引名称
     */
    private String indexName;

    /**
     * 列名称
     */
    private String columnName;

    /**
     * 索引值是否可以不唯一
     */
    private boolean nonUnique = true;

    public TableIndexInfo(String indexName, String columnName, boolean nonUnique) {
        this.indexName = indexName;
        this.columnName = columnName;
        this.nonUnique = nonUnique;
    }

    public String getIndexName() {
        return indexName;
    }

    public String getColumnName() {
        return columnName;
    }

    public boolean isNonUnique() {
        return nonUnique;
    }

}
